import App from './App'
import $http from '@/http'
Vue.prototype.$http = $http

import mixin from '@/utils/mixin.js'
Vue.mixin(mixin)

import TabBar from '@/components/public/TabBar.vue'
import TopTitle from '@/components/public/TopTitle.vue'
Vue.component('TabBar',TabBar)
Vue.component('TopTitle',TopTitle)
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif

// 引入uView组件
import uView from "uview-ui";
Vue.use(uView);